# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=snyk
pkgver=1.1283.0
pkgrel=1
pkgdesc='CLI and build-time tool to find and fix known vulnerabilities in open-source dependencies.'
arch=('any')
groups=('blackarch' 'blackarch-code-audit' 'blackarch-scanner')
url='https://github.com/snyk/cli'
license=('Apache')
source=("https://github.com/$pkgname/$pkgname/releases/download/v$pkgver/$pkgname-linux")
sha512sums=('c921fa2ee8e7931b454e71febb62e91dcd3889c4344937c3e9da56065e64bd2e321add427c173ed79bfc0ba8d6e24c982399efd2c4b32b721a3c4ced0cf9fd95')
noextract=('snyk-linux')
options=('!strip')

package() {
  install -Dm 755 "$pkgname-linux" "$pkgdir/usr/bin/$pkgname"
}

